Serial Port Wrapper
Serial port implementation based on the jSerialComm library.
Parameters
port
SerialPort object used for managing a serial port
Properties
Functions
Link copied to clipboard
Checks how many bytes are available to be read from the serial port.
Link copied to clipboard
Reads the specified number of bytes from the port.
Reads the specified number of bytes from the port in an asynchronous manner.
Link copied to clipboard
Sets the baud rate of the connection to the serial port.
Link copied to clipboard
Sets the values of the port read and write timeouts.
Link copied to clipboard
Sets the timeout behavior of the underlying serial port library.
Link copied to clipboard
Writes the provided bytes to the serial port.
Writes the provided bytes to the serial port in an asynchronous manner.
Link copied to clipboard
Writes the provided byte data to the serial port.